package com.example.zyfypt_611cgt.service;

import com.example.zyfypt_611cgt.bean.TwareBean;

import java.util.List;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;
import retrofit2.http.Url;

public interface TwareService {
    @GET("api.php/lists/mod/{mod}")
    Call<List<TwareBean>> getTwareList(
      @Path("mod") String mod,
      @Query("page") int page,
      @Header("SessionID") String sessionID
    );
    @GET Call<ResponseBody> getPdf(@Url String url);
}
